import { useMenuStore } from '@/stores/menuStore'
import type { Static } from 'vue'

export class menuProxy {
  static init() {
    useMenuStore().pushMenum([
      {
        name: '菜单1',
        url: '',
        invisible: false,
        icon: 'bi-house',
      },
      {
        name: '菜单1_1',
        icon: 'bi-bag-heart',
        parentName: '菜单1',
        url: '/',
        invisible: false,
      },
      {
        name: '菜单1_2',
        url: '/',
        icon: 'bi-balloon-heart-fill',
        parentName: '菜单1',
        invisible: false,
      },
      {
        name: '菜单2',
        url: '',
        invisible: false,
        icon: 'bi-yin-yang',
      },
      {
        name: '菜单2_1',
        parentName: '菜单2',
        url: '/',
        icon: 'bi-bank2',
        invisible: false,
      },
      {
        name: '菜单2_2',
        parentName: '菜单2',
        icon: 'bi-book',
        url: '/',
        invisible: false,
      },
      {
        name: '菜单2_3',
        parentName: '菜单2',
        icon: 'bi-book',
        url: '/',
        invisible: false,
      },
      {
        name: '系统设置',
        url: '',
        invisible: false,
        icon: 'bi-windows',
      },
      {
        name: '系统设置_1',
        parentName: '系统设置',
        url: '/',
        icon: 'bi-book',
        invisible: false,
      },
      {
        name: '系统设置_2',
        parentName: '系统设置',
        url: '/',
        icon: 'bi-book',
        invisible: false,
      },
      {
        name: '用户管理',
        parentName: '系统设置',
        url: '',
        icon: 'bi-box-fill',
        invisible: false,
      },
      {
        name: '用户管理_1',
        parentName: '用户管理',
        url: '/system/userManage',
        icon: 'bi-card-heading',
        invisible: false,
      },
      {
        name: '用户管理_2',
        parentName: '用户管理',
        url: '/',
        icon: 'bi-card-heading',
        invisible: false,
      },
      {
        name: '用户管理_3',
        parentName: '用户管理',
        url: '/',
        icon: 'bi-card-heading',
        invisible: false,
      },
    ])
  }
}
